package com.lagou;

import org.mybatis.spring.annotation.MapperScan;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.cloud.client.discovery.EnableDiscoveryClient;

/**
 * @ClassName CodeApplication
 * @Description
 * @Author playboy
 * @Date 2021/6/25 6:11 下午
 * @Version 1.0
 **/
@SpringBootApplication
@EnableDiscoveryClient
@MapperScan(basePackages = "com.lagou.mapper")//扫描mapper文件
public class CodeApplication {
	private static Logger log = LoggerFactory.getLogger(CodeApplication.class);

	public static void main(String[] args) {
		SpringApplication.run(CodeApplication.class, args);
	}
}
